package com.pengweiwei.androidzygote.functions.base;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.pengweiwei.androidzygote.R;
import com.putong35.common.baseactfrag.activity.BaseActivity;


public class ListViewWithHeaderAndFooterFragActivity extends BaseActivity {

    @Override
    public View createDataView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.activity_list_header_footer_frag, null);
        ListViewWithHeaderAndFooterFragment listFrag = new ListViewWithHeaderAndFooterFragment();
        getSupportFragmentManager().beginTransaction().replace(R.id.lytMain, listFrag).commit();
        return view;
    }
}
